package com.niit.blog.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.niit.blog.entity.Dto.CommentControDto;
import com.niit.blog.entity.domain.TbBlogComment;
import com.niit.blog.entity.page.PageReq;
import com.niit.blog.entity.page.PageReqreq;
import com.niit.blog.entity.req.CommentReq;
import com.niit.blog.entity.req.RemoveShareCommentReq;
import com.niit.blog.entity.req.SaveBlogCommentReplyReq;

/**
* @author 18512
* @description 针对表【tb_blog_comment】的数据库操作Service
* @createDate 2024-06-25 20:33:55
*/
public interface TbBlogCommentService extends IService<TbBlogComment> {

    Integer saveBlogComment(TbBlogComment data);

    Boolean removeComment(RemoveShareCommentReq req);


    PageInfo<CommentControDto> selectByPage(PageReqreq pageReq, Integer pageNo, Integer pageSize);

    TbBlogComment prepareData(CommentReq commentReq);
}
